{extend name="public/base"}

{block name="style"}
{css href="/static/wechat/css/managementshop.css" /}
{/block}

{block name="body"}
<div class="pageControl manage">
    <div class="msui_nav msui_navTop">
        <a class="msui_navTop-back" href="javascript:history.back();"><i class="micon-back"></i></a>
        <h1 class="msui_navTop-title">维修店管理</h1>
        <a class="msui_navTop-icon" href="{:url('search_shop', ['type' => 1])}">
            <!--<i class="micon-message"></i>-->
            <i class="micon-sou"></i>
        </a>
    </div>
    <div class="weui-top">
        {eq name="data.level" value="3"}
        <a class="weui-cell weui-cell_access" href="{:url('repair_list')}">
            <div class="weui-label">
                <img src="/static/wechat/images/ss.png" alt=""/>
            </div>
            <div class="weui-cell__bd">
                <span>店铺审核</span>
            </div>
            <div class="weui-cell__ft">
                <span class="weui-badge">{$repair_num}</span>
            </div>
        </a>
        {/eq}
        <div class="weui-cells">
            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <p>{$data.address}-汇总</p>
                </div>
            </div>
            <div class="weui-cell weui-cell1">
                <div class="weui-cell__bd">
                    <p class="fs07 cl-9999">累计交易流水(元)</p>
                    <p class="fs10 cl-fb4">{$data.total}</p>
                </div>
                <div class="weui-cell__bd">
                    <p class="fs07 cl-9999">累计店铺数量</p>
                    <p class="fs10 cl-fb4">{$data.total_shop}</p>
                </div>
            </div>
        </div>
        <div class="weui-cells">
            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <p>我管辖的</p>
                </div>
            </div>
            {empty name="data.area_info"}
            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <p class="fs075">暂无数据</p>
                </div>
            </div>
            {else /}
            {volist name="data.area_info" id="vo"}
            <a class="weui-cell" href="{:url('repair_team_list', ['region_id' => $key])}">
                <div class="weui-cell__bd">
                    <p class="fs075">{$vo.name}</p>
                    <p class="fs065 cl-9999">维修店总数: <span>{$vo.total_shop} </span>家</p>
                    <p class="fs065 cl-9999">区域总流水: <span>{$vo.total} </span>元</p>
                </div>
            </a>
            {/volist}
            {/empty}
        </div>
    </div>


<<<<<<< HEAD
=======

>>>>>>> origin/master
</div>
{/block}
{block name="javascript"}
<script src="/static/wechat/js/managementshop.js?v={php}echo time(){/php}"></script>
{/block}